package com.zbkj.crmeb.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.CommonPage;
import com.common.PageParamRequest;
import com.zbkj.crmeb.member.model.StoreProductLabel;
import com.zbkj.crmeb.member.request.StoreProductLabelRequest;

/**
 * <p>
 * 商品标签表 服务类
 * </p>
 *
 * @author xx
 * @since 2022-05-31
 */
public interface IStoreProductLabelService extends IService<StoreProductLabel> {

    /**
     * 商户标签查询
     * @param request
     * @return com.common.CommonPage<com.zbkj.crmeb.member.model.StoreProductLabel>
     */
    CommonPage<StoreProductLabel> getLabel(StoreProductLabelRequest request);

    /**
     * 商户标签添加或编辑
     * @param storeProductLabel
     * @return java.lang.Boolean
     */
    Boolean addOrUpdLabel(StoreProductLabel storeProductLabel);

    /**
     *
     * @param id
     * @return java.lang.Boolean
     */
    Boolean delLabel(Integer id);

    /**
     * 指定商品添加标签
     * @param request
     * @return java.lang.Boolean
     */
    Boolean addProductLabel(StoreProductLabelRequest request);

    /**
     * 清除商品标签
     * @param request
     * @return java.lang.Boolean
     */
    Boolean clearProductLabel(StoreProductLabelRequest request);


}
